package com.bojx.com.genericity;

import java.util.ArrayList;
import java.util.List;

public class NonCovariantGenerics {

	public static void main(String[] args) {
		List<? extends Fruit> fruits=new ArrayList<Apple>();
		//fruits.add(new Apple());

	}

}
